#include "DeadlineEvent.h"
#include "DateTime.h"

 

DeadlineEvent::DeadlineEvent(void)
{
	_eventType = DEADLINE;
}


DeadlineEvent::~DeadlineEvent(void)
{
}


void DeadlineEvent:: setDeadlineEventEndtime(DateTime end){
	_DendTime = end;
	return;
}

DateTime DeadlineEvent::getDeadlineEventEndTime(){
	return _DendTime;
}

void DeadlineEvent::printEvent(){
    std::cout<<getName()<<","<<getImportanceLevel()<<","<<getLocation()<<","<<getDisplayID()<<",";
	
	getDeadlineEventEndTime().printDateTime();
	
	std::cout<<std::endl;
}